package com.ruoyi.system.api.service;


import com.ruoyi.system.api.model.dto.UserInfo;
import com.ruoyi.system.api.model.dto.UserLoginInfo;

public interface IUserApiService {

    /**
     * 通过用户名查询用户信息
     *
     * @param username 用户名
     * @return 结果
     */

    UserInfo getUserInfo(String username);

/*

    UserInfo getUserInfo(Long deptId, String postCode);

    List<UserInfo> getUserList(Long deptId, String postCode);

    SysPostDto getPostInfo(Long deptId, String postCode);

    //获取往上延伸的岗位信息
    SysPostDto getExtendPostInfo(Long deptId, String postCode);

    SysUserDto getSysUserInfo(String username);*/

    //停止用户
//    int stopUser(Long userId);

    UserLoginInfo getUserLoginInfo(String username);

    UserLoginInfo getUserLoginInfoById(Long userId);


}
